package com.briup.jz.service.impl;

import com.briup.jz.bean.extend.PrivilegeExtend;
import com.briup.jz.dao.PrivilegeMapper;
import com.briup.jz.dao.extend.PriviliegeExtendMapper;
import com.briup.jz.service.IPrivilegeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @ProjectName: jz
 * @Author: xjs
 * @Description: 权限业务
 * @Date: 2020/6/14 11:34
 */
@Service
public class PrivilegeServiceImpl implements IPrivilegeService {

    @Resource
    private PriviliegeExtendMapper priviliegeExtendMapper;

    @Override
    public List<PrivilegeExtend> findAllByTree() {
        return priviliegeExtendMapper.selectAllByTree();
    }
}
